<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  <p v-if="isShow">刘德华</p>
  <p v-else>张学友</p>
  <p v-show="isShow">黎明</p>
</div>
</body>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<script>
    let v = new Vue({
        el: "body>div",
        data: {
          isShow: false
        },
        methods: {

        }
    });
</script>
</html>